package com.jm.bishe.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable{
    Long userId;
    String passWord;
    String realName;
    Date bornDate;
    String phoneNumber;
    //1男 0女
    int sex;
    String IDNumber;
    //1是 0不是
    int isVip;
    int vipCount;

    public User(Long userId, String passWord, String realName, Date bornDate, String phoneNumber, int sex, String IDNumber) {
        this.userId = userId;
        this.passWord = passWord;
        this.realName = realName;
        this.bornDate = bornDate;
        this.phoneNumber = phoneNumber;
        this.sex = sex;
        this.IDNumber = IDNumber;
    }

}
